@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.2; }
}

@keyframes meteorEffect {
    from {
        transform: translate(-20%, -20%) rotate(-45deg);
        opacity: 1;
    }
    to {
        transform: translate(100%, 100%) rotate(-45deg);
        opacity: 0;
    }
}

.card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
}

.sci-fi-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    animation: glow 5s ease-in-out infinite alternate;
}

.light-star {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    animation: starTwinkle 2s infinite ease-in-out;
}

.meteor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.6), transparent);
    animation: meteorEffect 3s infinite linear;
}

@keyframes glow {
    from {
        filter: brightness(1);
    }
    to {
        filter: brightness(1.2);
    }
}